class Circle{
    private double radius;
    public Circle(double radius){
        this.radius = radius;
    }
    public Circle(){
        this.radius = 0;
    }
    void setRadius(double r){
        radius = r;
    }
    double getArea(){
        return Math.PI*radius*radius;
    }
    double getPerimeter(){
        return 2*Math.PI*radius;
    }
    public String toString(){
        return "Circle(r:" + r +")";
    }
}
class Cylinder
